import http from './index'

export function login(data) {
    return http.request({
        url: '/api/login',
        method: "POST",
        data
    })
}

export function getUserInfo() {
    return http.request({
        url: '/api/getUserInfo',
        method: "GET"
    })
}

